package com.cly;

import com.cly.api.clients.CartClient;
import com.cly.api.clients.ItemClient;
import com.cly.api.clients.PayClient;
import com.cly.api.config.DefaultFeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(clients = {ItemClient.class, CartClient.class, PayClient.class},
        defaultConfiguration = DefaultFeignConfig.class)
public class OrderServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderServiceApplication.class, args);
    }

}
